﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Happy.Dto;
using Happy.Dto.CommonModel.TreeLike;
using Happy.Archetype;
using Happy.Cms.Query.Shares;

namespace Happy.Cms.Query.Categories
{
    [ViewModel]
    public sealed class CategoryView :
        IId<Guid>,
        IOptimisticKey,
        ITreeNodeView<Guid>,
        ISeoInfoView
    {
        public Guid Id { get; set; }

        public byte[] OptimisticKey { get; set; }

        public string Name { get; set; }

        public string SeoInfo_Title { get; set; }

        public string SeoInfo_KeyWord { get; set; }

        public string SeoInfo_Description { get; set; }

        public string NodePath { get; set; }

        public Guid? ParentId { get; set; }

        public int Order { get; set; }
    }
}
